package com.ruoyi.web.controller.class_choose.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * class_choose对象 a_choose_class
 *
 * @author G
 * @date 2025-04-28
 */
public class AChooseClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    /** 学生id */
    @Excel(name = "学生id")
    private Long userId;

    /** 课程id */
    @Excel(name = "课程id")
    private Long classId;

    /** 已获学分 */
    @Excel(name = "已获学分")
    private Long classScore;

    /** 学习进度 */
    @Excel(name = "学习进度")
    private Long classProgress;

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public void setClassId(Long classId)
    {
        this.classId = classId;
    }

    public Long getClassId()
    {
        return classId;
    }

    public void setClassScore(Long classScore)
    {
        this.classScore = classScore;
    }

    public Long getClassScore()
    {
        return classScore;
    }

    public void setClassProgress(Long classProgress)
    {
        this.classProgress = classProgress;
    }

    public Long getClassProgress()
    {
        return classProgress;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("userId", getUserId())
                .append("classId", getClassId())
                .append("classScore", getClassScore())
                .append("classProgress", getClassProgress())
                .toString();
    }
}
